﻿<%@ Page Title="" Language="C#" MasterPageFile="~/iFrameMasterPage.master" AutoEventWireup="true" CodeFile="iFrameAdmin_EditAgency.aspx.cs" Inherits="iFrameAdmin_EditAgency" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" Runat="Server">
<table style="width: 100%;" cellpadding ="0" cellspacing ="2">
    <tr>
        <td style ="width :235px">
            </td>
        <td>
            
            </td>
        
        <td style ="text-align :right ">        
            &nbsp;</td>
    </tr>
    
</table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBody" Runat="Server">

  <div class="TblCaption" style ="width:100%; height :25px" onclick ="CaptionToggle('body_CommonInfo','caption_CommonInfo');"  >    
    <table style="width:100%;">
            <tr>
                <td id="caption_CommonInfo" class ="ArrowDown" >
                    &nbsp;</td>
                <td >
                    Общая информация
                    &nbsp
                </td>
                <td class ="style1" >
                    &nbsp;</td>
            </tr>
        </table>
    </div>    
<div id="body_CommonInfo" style ="width:100%" >
    <table style="width:100%;" cellpadding ="0" cellspacing ="0">
        
        <tr id="CommonInfo" >
            <td width="25%" colspan="3">
            <table style="width:100%;" cellpadding ="2" cellspacing ="0">        
            <tr >
            <td width="25%" >
                &nbsp;</td>
            <td style="width:25%" class ="grd_td_item" >
     Департамент (филиал):<asp:RequiredFieldValidator ID="RequiredFieldValidator1"  ControlToValidate ="txtName" runat="server" 
        ErrorMessage="*"></asp:RequiredFieldValidator>
                </td>
            <td  class ="grd_td_item" >
    <asp:TextBox ID="txtName" runat="server" Text =<%# Department.Name %> CssClass="TextBox"></asp:TextBox>
                
            </td>
            </tr>
            
            <tr >
            <td width="25%" style ="vertical-align :top ">
                &nbsp;</td>
            <td style="width:25%;vertical-align :top" class="grd_td_item">
                Адрес:</td>
                <td class="grd_td_item"  >
    <asp:TextBox ID="txtAdress" runat="server" CssClass="TextBox"></asp:TextBox>
                </td>
        </tr>       
        
            <tr >
            <td width="25%" >
                &nbsp;</td>
            <td style="width:25%" >
                </td>
                
            <td   style="text-align :right " >            
                <asp:Button ID=Button2 runat ="server" CssClass ="btn_wizard" Text ="Сохранить"  OnClick ="btnSave_Click"  />            
                </td>
            </tr>
            
            </table>
            </td>
        </tr>
</table>
</div> 

</asp:Content>

